package com.basic.tools.codegen.util;

import com.basic.tools.codegen.common.Contant;
import com.basic.tools.codegen.gen.TableDefinition;

import javax.servlet.http.HttpSession;
import java.util.ArrayList;
import java.util.List;

public class CacheUtils {
    public static List<TableDefinition> getTableDefinitions(Integer sid, HttpSession session) {
       List<TableDefinition>  re=new ArrayList();
       re=(List<TableDefinition>)session.getAttribute(Contant.TD_SESSION_CACHE+sid);
       return  re;
    }
}
